package tk.mybatis.spring.mapper;

import org.springframework.beans.factory.support.BeanDefinitionRegistry;

/**
 * 继承org.mybatis.spring.mapper.ClassPathMapperScanner并替换mapperFactoryBean
 * 
 * @author lzy
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class ClassPathMapperScanner extends org.mybatis.spring.mapper.ClassPathMapperScanner
{
    private MapperFactoryBean<?> mapperFactoryBean = new MapperFactoryBean<Object>();
    
    public ClassPathMapperScanner(BeanDefinitionRegistry registry)
    {
        super(registry);
        super.setMapperFactoryBean(mapperFactoryBean);
    }
    
}
